<ng-template #modalContent>
    <nz-descriptions nzTitle="" nzBordered [nzColumn]="24">
        <nz-descriptions-item nzTitle="任务编号" [nzSpan]='12'>
            {{entity.jobId}}
        </nz-descriptions-item>
        <nz-descriptions-item nzTitle="任务分组" [nzSpan]='12'>
            {{entity.jobGroup}}
        </nz-descriptions-item>
        <nz-descriptions-item nzTitle="任务名称" [nzSpan]='12'>
            {{entity.jobName}}
        </nz-descriptions-item>
        <nz-descriptions-item nzTitle="创建时间" [nzSpan]='12'>
            {{entity.createTime}}
        </nz-descriptions-item>
        <nz-descriptions-item nzTitle="cron表达式" [nzSpan]='12'>
            {{entity.cronExpression}}
        </nz-descriptions-item>
        <nz-descriptions-item nzTitle="下次执行时间" [nzSpan]='12'>
            {{entity.nextValidTime}}
        </nz-descriptions-item>
        <nz-descriptions-item nzTitle="调用目标方法" [nzSpan]='24'>
            {{entity.invokeTarget}}
        </nz-descriptions-item>
        <nz-descriptions-item nzTitle="任务状态" [nzSpan]='12'>
            <app-dict-label [dictKey]='"sys_job_status"' [dictValue]='entity.status'></app-dict-label>
        </nz-descriptions-item>
        <nz-descriptions-item nzTitle="是否并发" [nzSpan]='12'>
           <nz-radio-group [(ngModel)]="entity.concurrent" nzButtonStyle="solid" [ngSwitch]='entity.concurrent'>
                <label *ngSwitchCase='0' nz-radio-button nzValue="0">允许</label>
                <label *ngSwitchCase='1' nz-radio-button nzValue="1">禁止</label>
            </nz-radio-group>
        </nz-descriptions-item>
        <nz-descriptions-item nzTitle="执行策略" [nzSpan]='12'>
            <nz-radio-group [(ngModel)]="entity.misfirePolicy" nzButtonStyle="solid" [ngSwitch]='entity.misfirePolicy'>
                <label *ngSwitchCase='1' nz-radio-button nzValue="1">立即执行</label>
                <label *ngSwitchCase='2' nz-radio-button nzValue="2">执行一次</label>
                <label *ngSwitchCase='3' nz-radio-button nzValue="3">放弃执行</label>
            </nz-radio-group>
        </nz-descriptions-item>
    </nz-descriptions>
</ng-template>
